home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970104-19970326 / 000315_news@columbia.edu _Thu Feb 27 12:40:30 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA19551
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Thu, 27 Feb 1997 12:40:28 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id MAA14478
  7.     for kermit.misc@watsun; Thu, 27 Feb 1997 12:40:27 -0500 (EST)
  8. Path: news.columbia.edu!panix!news.mathworks.com!cam-news-hub1.bbnplanet.com!su-news-hub1.bbnplanet.com!news.bbnplanet.com!super.zippo.com!zdc!zippo!news
  9. From: cksam@macau.ctm.netX (SAM, Chi-Kin)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: How to write a simple script? Help!
  12. Date: Thu, 27 Feb 1997 08:57:42 GMT
  13. Organization: Tecnologia Electronica Hermes
  14. Lines: 39
  15. Message-ID: <5f3iju$lbb@lex.zippo.com>
  16. References: <DqrvQsBJ8GA.127@news.internetco.net>
  17. Reply-To: cksam@macau.ctm.netX
  18. NNTP-Posting-Host: c19line12.macau.ctm.net
  19. Mime-Version: 1.0
  20. Content-Type: text/plain; charset=us-ascii
  21. Content-Transfer-Encoding: 7bit
  22. X-Newsreader: Forte Agent .99g/16.339
  23. Xref: news.columbia.edu comp.protocols.kermit.misc:6654
  24.  
  25. On Wed, 26 Feb 1997 14:27:12 -0500, piazza@sanet.com.br (Fernando
  26. Piazza) wrote:
  27.  
  28. > I need to write a simple script to automate kermit.
  29. >
  30. >It should do the following:
  31. >
  32. >SET LINE /dev/modem
  33. >SET SPEED 38400
  34. >CONNECT
  35. >
  36. >(wait for 2 seconds)
  37. >
  38. >ATZ
  39. >
  40. >(disconnect from modem)
  41. >
  42. >QUIT
  43. >
  44. You have written most of it:
  45.  
  46. SET LINE /dev/modem
  47. SET SPEED 38400
  48. PAUSE 2
  49. OUPUT ATZ
  50. INPUT 2 OK
  51. EXIT
  52.  
  53. save above line as init.scr, then "kermit take init.scr".
  54.  
  55. What are your really want to do? Just using kermit to initial the
  56. modem?
  57.  
  58. ...SAM
  59. ===========================================================================
  60. SAM, Chi-Kin (Mr.) at Hermes Electronics Technology Co. in MACAU
  61. Tel: +(853)963609  Fax: +(853)511456   PGP key: http://macau.ctm.net/~cksam
  62. e-mail: cksam@macau.ctm.net  Mailing-addr.: P.O.Box 831, Macau, South CHINA
  63. ===========================================================================